//
//  JiaoYiSuccessViewController.m
//  DBAChain
//
//  Created by Evan on 2018/9/8.
//  Copyright © 2018 Evan. All rights reserved.
//

#import "JiaoYiSuccessViewController.h"
#import "CommonData.h"
#import "AssetsOrderListViewController.h"

@interface JiaoYiSuccessViewController ()

@property (weak, nonatomic) IBOutlet UILabel *labelDetail;


@end

@implementation JiaoYiSuccessViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.title = self.isMaiRu ? @"买入GTE" : @"卖出GTE";
    self.title = self.isMaiRu ? @"已挂单成功，等待卖家卖出":@"已挂单成功，等待买价购买";
    
    self.view.backgroundColor = LCFromRGB(238, 238, 238);
    
    self.automaticallyAdjustsScrollViewInsets = YES;
    if (self.navigationController.navigationBar.hidden == YES) {
        self.navigationController.navigationBar.hidden = NO;
    }
    self.hidesBottomBarWhenPushed = YES;
    if (self.tabBarController.tabBar.hidden == NO) {
        self.tabBarController.tabBar.hidden = YES;
    }
   
}

-(void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
     [self setBlackStatus:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)btnSubmit:(id)sender {
    AssetsOrderListViewController *vc = [AssetsOrderListViewController new];
    [self.navigationController pushViewController:vc animated:YES];
}


@end
